﻿using System;

namespace EntitySetBase
{
    /// <summary>
    /// 所有数据对象模型的通用接口
    /// </summary>
    public interface IEntitySet<TKey> where TKey : IConvertible, IEquatable<TKey>
    {
        /// <summary>
        /// 主键
        /// </summary>
        TKey Id { get; set; }
    }
}
